package com.back.demo.service.MyEasyExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data // lombok注解，自动生成getter/setter、构造方法、toString等实体类通用方法
public class StudentInformationX {
    private Integer userId;

    @ExcelProperty(value = "学号")    // @ExcelProperty注解 设置当前字段表头名称和所在的列的索引
    private String studentId;

    @ExcelProperty(value = "姓名")
    private String name;

    @ExcelProperty(value = "性别")
    private String gender;

    @ExcelProperty(value = "级别")
    private String grade;

    @ExcelProperty(value = "专业编号")
    private Integer majorId;

    @ExcelProperty(value = "学苑编号")
    private Integer classId;

    @ExcelProperty(value = "导师工号")
    private String jobId;

//    @ExcelProperty(value = "学位编号")
//    private Integer studentDegree;
    /*
    // @ExcelIgnore 导出时忽略这个字段
    @ExcelIgnore
    private String ignore;
    /
    */
}
